package com.xinchen.gufeiwulian.base

import com.maple.model.resp.BaseResp
import com.xinchen.gufeiwulian.model.repository.ResultCode
import com.maple.base.viewModel.BaseVM as Base

abstract class BaseViewModel: Base() {
    override fun isSuccess(resp: BaseResp): Boolean = ResultCode.isSuccess(resp.code,resp.success)
}